package com.quasar.hpatient.model.httpmodel;


import java.io.Serializable;
import java.util.List;

/**
 * author : 许建宏
 * Date: 2017/9/26 0026
 * View:定义返回外层泛型类
 */

public class HttpResult<T> implements Serializable {

    private String msg;
    private int code;
    private List<T> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

}
